package net.chathu.airgw.packets.gw.serverpackets 
{
	/**
	 * ...
	 * @author ze
	 */
	public class PartPacket implements ISendableIRCPacket 
	{
		private var _userHost:String;
		private var _channel:String;
		
		public function PartPacket(userHost:String, channel:String) 
		{
			_userHost = userHost;
			_channel = channel;
		}
		
		public function getMessage():String
		{
			//FONTOS! Part csomagnal nem kell prefix a nick elé! Voice/op jelzés itt nincs!
			return ":" + _userHost +" PART :" + _channel  + "\n";
		}
	}
}